package com.ky.study.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 评论
 * </p>
 *
 * @author wgz
 * @since 2024-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Review implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 评论id
     */
    @TableId(value = "review_id", type = IdType.AUTO)
    private Integer reviewId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 文章_id
     */
    private int articleId;

    /**
     * 课程id
     */
    private String courseId;

    /**
     * 评论内容·
     */
    private String content;

    /**
     * 评论时间
     */

    private Date reviewTime;

    /**
     * 点赞数
     */
    private Integer reviewPraises;


    private Integer problemId;

    private Integer circleArticleId;
}
